<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>循环解决鸡兔同笼问题</title>
    <link rel="stylesheet" href="ll.css">
</head>
<body>
    <div class="container">
        <h1>循环解决鸡兔同笼问题</h1>
        <div class="input-area">
            <p>鸡兔同笼，鸡兔一共
                <input type="number" id="total" value="35" min="0"> 只，
                笼子里脚一共
                <input type="number" id="feet" value="94" min="0"> 只，
                请问分别有多少只鸡和兔？
                <button id="calculate">计算</button>
            </p>
        </div>
        <div class="result-area" id="result"></div>
    </div>
    <script src="ll.js"></script>
</body>
</html>